package com.douqu.game.core.e;

/**
 * @author: Gavin.
 * Description:
 * Date: 2017/12/14 0014 下午 12:29
 * Huan Yu Copyright (c) 2017 All Rights Reserved.
 */
public enum E_ConnectionDestroyType implements BaseEnum {

    CLIENT_OFFLINE(1,"客户端主动掉线"),
    BATTLE_OFFLINE(2,"去战斗后掉线"),
    SERVER_CLOSE(3, "服务器关闭")

    ;

    int code;

    String msg;

    E_ConnectionDestroyType(int code, String msg)
    {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
